package jmine.tec.batch.domain;

import java.util.Arrays;
import java.util.List;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.Transient;

import jmine.tec.persist.annotation.DiscriminatorComment;

@Entity
@DiscriminatorValue(value = "My")
@DiscriminatorComment("MY PROCESSING UNIT")
public class MyProcessingUnit extends ProcessingUnit<MyElement> {

    public static MyElement object = new MyElement();

    @Transient
    @Override
    public List<MyElement> getChildren() {
        return Arrays.asList(object);
    }
}
